package org.fordprefect.struts2lightboxplugin.views.freemarker.tags;

import com.opensymphony.xwork2.util.ValueStack;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts2.components.Component;
import org.apache.struts2.views.freemarker.tags.TextFieldModel;
import org.apache.struts2.views.freemarker.tags.TagModel;
import org.fordprefect.struts2lightboxplugin.components.LightBox;

/**
 * @see org.fordprefect.struts2lightboxplugin.components.LightBox
 */
public class LightBoxModel extends TagModel {

    public LightBoxModel(ValueStack stack, HttpServletRequest req, HttpServletResponse res) {
        super(stack, req, res);
    }
    
    protected Component getBean() {
        return new LightBox(stack, req, res);
    }
}
